<script type="text/javascript">
$("#checkAll").checkall({itemName : "name"});
</script>
<#include "/component/pagination.html" />
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAll" type="checkbox" value=""/></th>
			<th width="16%" scope="col"><@spring.message code='lun.lun_name'/></th>
			<th width="16%" scope="col"><@spring.message code='lun.pool'/></th>
			<th width="16%" scope="col"><@spring.message code='lun.totalSize'/>(MB)</th>
			<!-- <th width="12%" scope="col"><@spring.message code='lun.objects'/></th>
			<th width="12%" scope="col"><@spring.message code='lun.objectSize'/>(KB)</th> -->
			<th width="16%" scope="col"><@spring.message code='lun.qosType'/></th>
			<th width="16%" scope="col"><@spring.message code='lun.qosRead'/></th>
			<th width="16%" scope="col"><@spring.message code='lun.qosWrite'/></th>
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<tr 
			<#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
			<td class="c"><input name="name" type="checkbox" value="${item.id}--${item.name}--${item.poolName}" /></td>
	        <td>${item.name}</td>
			<td>${item.poolName}</td>
	        <td>${item.size}</td>
	       <!--  <td>${item.objects}</td>
	        <td>${item.objectSize/1024}</td>
	         -->
	         <td>	<#if item.qosType=0>  iops
		
                     <#else>        <@spring.message code='lun.bandwidth'/>
                     </#if>
		</td>
	        <td>${item.qosRead}</td>
	        <td>${item.qosWrite}</td>
	      </tr>
		</#list>
	</tbody>
</table>
<@pagination/>
